﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_MobilizationNoticeBusiness
    {
        Task<PageResult<PB_MobilizationNotice>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_MobilizationNoticeDto> GetTheDataAsync(string id);
        Task AddDataAsync(PB_MobilizationNotice data);
        Task UpdateDataAsync(PB_MobilizationNotice data);
        Task DeleteDataAsync(List<string> ids);
        /// <summary>
        /// 插入进场通知单
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task AddDataListInfo(PB_MobilizationNoticeSubDTO data);
        /// <summary>
        /// 修改进场通知单
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task UpdateDataListInfo(PB_MobilizationNoticeSubDTO data);

        /// <summary>
        /// 审核进场通知单
        /// </summary>
        /// <param name="PurchaseId"></param>
        /// <returns></returns>
        Task ToExamineRepairOrderApply(string Id);

        /// <summary>
        /// 打印进场通知单
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<PB_MobilizationNoticePrint> MobilizationNoticePrint(string Id);
    }
}